package com.haer.test;

import com.haer.infrastructure.persistent.dao.AwardMapper;
import com.haer.infrastructure.persistent.po.AwardPO;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;

@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest
public class ApiTest {
    @Resource
    private AwardMapper awardMapper;
    @Test
    public void test() {
        AwardPO awardPO = awardMapper.selectByPrimaryKey(1L);
        System.out.println(awardPO);
    }
}
